SmartCrawl\WPML\Controller S

Total Complexity 32
Dependencies 5
Dependents 1
Total lines 220
Lines of code 148
Logical lines of code 72
Comment lines 32
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
limit_sitemap_posts_by_language()
S
56 4 19
limit_sitemap_terms_by_language()
S
58 4 16
add_homepage_versions()
S
56 3 19
hook_with_wpml()
S
59 3 15
add_homepage_versions_to_partial()
S
67 4 7
translate_post_url()
S
61 2 12
change_post_analysis_language()
S
71 2 6
sitemap_for_each_domain()
S
61 1 14
__construct()
S
76 1 4
remove_permalink_filters()
S
70 1 6
get_sitemap_homepage_item()
S
74 1 4
fix_duplicate_urls()
S
69 1 6
add_permalink_filters()
S
70 1 6
should_run()
S
80 1 3
append_language_code_to_cache()
S
74 1 4
init()
S
79 1 3
get_post_language_code()
S
74 1 4